package scfw.dao;

import java.util.List;
import scfw.model.OrderItem;

public abstract interface OrderItemMapper
{
    public abstract int deleteByPrimaryKey(Integer id);

    public abstract int insert(OrderItem record);

    public abstract int insertSelective(OrderItem record);

    public abstract OrderItem selectByPrimaryKey(Integer id);

    public abstract int updateByPrimaryKeySelective(OrderItem record);

    public abstract int updateByPrimaryKey(OrderItem record);

    public abstract List<OrderItem> todayOrderItems(Integer userId);

    public abstract List<OrderItem> historyOrderItems(Integer userId);

    public abstract void updateTodayOrderItemStatus(int status);
}